package cn.com.greatwall.oauth2.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author herw
 * @Time 2022-01-01 19:42:30
 * @Version 1.0
 * @Description: Token配置
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "greatwall.oauth2.token.store")
@RefreshScope
public class TokenStoreProperties {
    /**
     * token存储类型(redis/db/authJwt/resJwt)
     */
    private String type = "redis";
}
